home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / tel2305s.zip / FTPMAKE.MSC < prev    next >
Text File  |  1992-03-19  |  8KB  |  301 lines

  1. #
  2. #   Microsoft 6.0 makefile for ftp
  3. #
  4.  
  5. I       = ..\include
  6. #CC     = CL /c /EM /AL /DFTPBIN /DMSC /DFTP /I$(I) /W3        # for making more portable versions
  7. #CC     = CL /c /EM /AL /DFTPBIN /DMSC /DFTP /I$(I) /Ot /Gs /W3 # for making more portable versions, with the best optimization
  8. CC      = CL /c /EM /AL /DFTPBIN /DMSC /DFTP /I$(I) /Od /W3 # for making more portable versions
  9. #CC     = CL /c /EM /AL /DFTPBIN /DMSC /DFTP /DMAL_DEBUG /I$(I) /Ox /W3 # for making more portable versions, with the best optimization
  10. #CC     = CL /c /EM /AL /DFTPBIN /DMSC /DFTP /I$(I) /Ox /W3    # for making more portable versions, with the best optimization
  11. #CC     = CL /c /EM /AL /DFTPBIN /DMSC /DFTP /I$(I) /G2 /Ox /W3    # for making versions which only need to run on 80286s
  12. #CC     = CL /c /EM /AL /FPi87 /DFTPBIN /DMSC /DFTP /I$(I) /G2 /Ox /W3 # for making versions which only need to run on 80286s with 80287 math coprocessors
  13. #CC     = CL /c /EM /AL /DFTPBIN /DMSC /DFTP /I$(I) /Zg   # for getting function declarations
  14. #LINK   = /ST:4096 /CO /DOSSEG               # for debugging
  15. LINK    = /ST:4096 /E /F /PACKC /DOSSEG        # for final versions
  16. MM      = masm /W2 /P /DFTPBIN /DMicrosoft /I..\..\include  # for assembly code files
  17.  
  18. #
  19. # First compile ftpbin
  20. #
  21. ftp\ftpbin.obj : ftp\ftpbin.c
  22.     cd ftp
  23.     $(CC) ftpbin.c
  24.     copy ftpbin.obj ..\lib
  25.     cd ..
  26.  
  27. #
  28. # This next set is a repeat of tmake.msc
  29. # We want to make sure the tcp/ip kernal is up to date
  30. #
  31.  
  32. net\enet\net.obj : net\enet\net.c include\protocol.h include\data.h
  33.     cd net\enet
  34.     $(CC) /I..\..\include net.c
  35.     cd ..\.. 
  36.     lib lib\enet.lib -+net\enet\net ;
  37.  
  38. net\enet\ltalk.obj : net\enet\ltalk.c include\kip.h 
  39.     cd net\enet
  40.     $(CC) /I..\..\include ltalk.c
  41.     cd ..\.. 
  42.     lib lib\enet.lib -+net\enet\ltalk ;
  43.  
  44. engine\ip.obj : engine\ip.c include\protocol.h include\data.h
  45.     cd engine
  46.     $(CC) ip.c
  47.     cd ..
  48.     lib lib\tcp.lib -+engine\ip ;
  49.  
  50. engine\bootp.obj : engine\bootp.c include\protocol.h include\data.h include\bootp.h include\windat.h include\hostform.h
  51.     cd engine
  52.     $(CC) bootp.c
  53.     cd ..
  54.     lib lib\sess.lib -+engine\bootp ;
  55.  
  56. engine\user.obj : engine\user.c include\protocol.h include\data.h
  57.     cd engine
  58.     $(CC) user.c
  59.     cd ..
  60.     lib lib\tcp.lib -+engine\user ;
  61.  
  62. #engine\rspc.obj : engine\rspc.c include\windat.h include\vskeys.h include\whatami.h
  63. #    cd engine
  64. #    $(CC) rspc.c
  65. #    copy rspc.obj ..\lib
  66. #    cd ..
  67.  
  68. engine\tools.obj : engine\tools.c include\protocol.h include\data.h
  69.     cd engine
  70.     $(CC) tools.c
  71.     cd ..
  72.     lib lib\tcp.lib -+engine\tools ;
  73.  
  74. engine\udp.obj : engine\udp.c include\protocol.h include\data.h
  75.     cd engine
  76.     $(CC) udp.c
  77.     cd ..
  78.     lib lib\tcp.lib -+engine\udp ;
  79.  
  80. engine\arp.obj : engine\arp.c include\protocol.h include\data.h
  81.     cd engine
  82.     $(CC) arp.c
  83.     cd ..
  84.     lib lib\tcp.lib -+engine\arp;
  85.  
  86. engine\domain.obj : engine\domain.c include\protocol.h include\data.h
  87.     cd engine
  88.     $(CC) domain.c
  89.     cd ..
  90.     lib lib\tcp.lib -+engine\domain ;
  91.  
  92. engine\bkgr.obj : engine\bkgr.c include\hostform.h include\whatami.h
  93.     cd engine
  94.     $(CC) bkgr.c
  95.     cd  ..
  96.     lib lib\sess.lib -+engine\bkgr ;
  97.  
  98. engine\util.obj : engine\util.c include\whatami.h include\hostform.h
  99.     cd engine
  100.     $(CC) util.c
  101.     cd ..
  102.     lib lib\sess.lib -+engine\util ;
  103.  
  104. engine\tcp.obj : engine\tcp.c include\protocol.h include\data.h
  105.     cd engine
  106.     $(CC) tcp.c
  107.     cd ..
  108.     lib lib\tcp.lib -+engine\tcp ;
  109.  
  110. engine\pcutil.obj : engine\pcutil.c include\whatami.h
  111.     cd engine
  112.     $(CC) pcutil.c
  113.     cd ..
  114.     lib lib\sess.lib -+engine\pcutil ;
  115.  
  116. engine\protinit.obj : engine\protinit.c include\protocol.h include\data.h
  117.     cd engine
  118.     $(CC) protinit.c
  119.     cd ..
  120.     lib lib\tcp.lib -+engine\protinit ;
  121.  
  122. engine\look.obj : engine\look.c include\windat.h include\whatami.h include\nkeys.h include\hostform.h
  123.     cd engine
  124.      $(CC) look.c 
  125.     copy look.obj ..\lib
  126.     cd ..
  127.  
  128. engine\menu.obj : engine\menu.c include\windat.h include\whatami.h include\nkeys.h include\hostform.h
  129.     cd engine
  130.     $(CC) menu.c
  131.     copy menu.obj ..\lib
  132.     cd ..
  133.  
  134. engine\new_con.obj : engine\new_con.c include\whatami.h include\hostform.h include\confile.h
  135.     cd engine
  136.     $(CC) new_con.c
  137.     cd ..
  138.     lib lib\common.lib -+engine\new_con ;
  139.  
  140. engine\fakeout.obj: engine\fakeout.c include\hostform.h
  141.     cd engine
  142.     $(CC) fakeout.c
  143.     cd ..
  144.     lib lib\common.lib -+engine\fakeout ;
  145.  
  146. net\enet\netbicc.obj : net\enet\netbicc.c include\protocol.h include\data.h
  147.     cd net\enet
  148.     $(CC) /I..\..\include netbicc.c
  149.     cd ..\.. 
  150.     lib lib\enet.lib -+net\enet\netbicc ;
  151.  
  152. net\enet\netbicc2.obj : net\enet\netbicc2.asm
  153.     cd net\enet
  154.     $(MM) netbicc2.asm ;
  155.     cd ..\..
  156.     lib lib\enet.lib -+net\enet\netbicc2 ;
  157.  
  158. net\enet\packet.obj : net\enet\packet.c include\windat.h include\whatami.h
  159.     cd net\enet
  160.     $(CC) /I..\..\include packet.c
  161.     cd ..\.. 
  162.     lib lib\enet.lib -+net\enet\packet ;
  163.  
  164. net\enet\packet2.obj : net\enet\packet2.asm
  165.     cd net\enet
  166.     $(MM) packet2.asm ;
  167.     cd ..\..
  168.     lib lib\enet.lib -+net\enet\packet2 ;
  169.  
  170. net\enet\dndll.obj : net\enet\dndll.c include\protocol.h include\decnet.h
  171.     cd net\enet
  172.     $(CC) /I..\..\include dndll.c
  173.     cd ..\.. 
  174.     lib lib\enet.lib -+net\enet\dndll ;
  175.  
  176. net\enet\dndll2.obj : net\enet\dndll2.asm
  177.     cd net\enet
  178.     $(MM) dndll2.asm ;
  179.     cd ..\..
  180.     lib lib\enet.lib -+net\enet\dndll2 ;
  181.  
  182. net\enet\netatt10.obj : net\enet\netatt10.asm
  183.     cd net\enet
  184.     $(MM) netatt10.asm ;
  185.     cd ..\..
  186.     lib lib\enet.lib -+net\enet\netatt10 ;
  187.  
  188. net\enet\net3com.obj : net\enet\net3com.asm
  189.     cd net\enet
  190.     $(MM) net3com.asm ;
  191.     cd ..\..
  192.     lib lib\enet.lib -+net\enet\net3com ;
  193.  
  194. net\enet\net501.obj : net\enet\net501.asm
  195.     cd net\enet
  196.     $(MM) net501.asm ;
  197.     cd ..\..
  198.     lib lib\enet.lib -+net\enet\net501 ;
  199.  
  200. net\enet\nov3com.obj : net\enet\nov3com.asm
  201.     cd net\enet
  202.     $(MM) nov3com.asm ;
  203.     cd ..\..
  204. #    lib lib\enet.lib -+net\enet\nov3com ;
  205.  
  206. net\enet\net503.obj : net\enet\net503.asm
  207.     cd net\enet
  208.     $(MM) net503.asm ;
  209.     cd ..\..
  210.     lib lib\enet.lib -+net\enet\net503 ;
  211.  
  212. net\enet\net505.obj : net\enet\net505.asm
  213.     cd net\enet
  214.     $(MM) net505.asm ;
  215.     cd ..\..
  216.     lib lib\enet.lib -+net\enet\net505 ;
  217.  
  218. net\enet\net9210.obj : net\enet\net9210.asm
  219.     cd net\enet
  220.     $(MM) net9210.asm ;
  221.     cd ..\..
  222.     lib lib\enet.lib -+net\enet\net9210 ;
  223.  
  224. net\enet\ltlisten.obj : net\enet\ltlisten.asm
  225.     cd net\enet
  226.     $(MM) ltlisten.asm ;
  227.     cd ..\..
  228.     lib lib\enet.lib -+net\enet\ltlisten ;
  229.  
  230. net\enet\net523.obj : net\enet\net523.asm
  231.     cd net\enet
  232.     $(MM) net523.asm ;
  233.     cd..\..
  234.     lib lib\enet.lib -+net\enet\net523 ;
  235.  
  236. net\enet\netub.obj : net\enet\netub.asm
  237.     cd net\enet
  238.     $(MM) netub.asm ;
  239.     cd ..\..
  240.     lib lib\enet.lib -+net\enet\netub ;
  241.     
  242. net\enet\net5210.obj : net\enet\net5210.asm
  243.     cd net\enet
  244.     $(MM) net5210.asm ;
  245.     cd ..\..
  246.     lib lib\enet.lib -+net\enet\net5210 ;
  247.  
  248. net\enet\net8003.obj : net\enet\net8003.asm
  249.     cd net\enet
  250.     $(MM) net8003.asm ;
  251.     cd ..\..
  252.     lib lib\enet.lib -+net\enet\net8003 ;
  253.  
  254. net\enet\net8003a.obj : net\enet\net8003a.asm
  255.     cd net\enet
  256.     $(MM) net8003a.asm ;
  257.     cd ..\..
  258.     lib lib\enet.lib -+net\enet\net8003a ;
  259.  
  260. net\enet\netzyp.obj : net\enet\netzyp.asm
  261.     cd net\enet
  262.     $(MM) netzyp.asm ;
  263.     cd ..\..
  264.     lib lib\enet.lib -+net\enet\netzyp ;
  265.  
  266. engine\ipasm.obj : engine\ipasm.asm
  267.     cd engine
  268.     $(MM) ipasm.asm ;
  269.     cd ..
  270.     lib lib\tcp.lib -+engine\ipasm ;
  271.  
  272. engine\ncsaio.obj : engine\ncsaio.asm
  273.     cd engine
  274.     $(MM) ncsaio ;
  275.     copy ncsaio.obj ..\lib
  276.     cd ..
  277.  
  278. engine\ncsabrk.obj : engine\ncsabrk.asm
  279.     cd engine
  280.     $(MM) ncsabrk ;
  281.     copy ncsabrk.obj ..\lib
  282.     cd ..
  283.  
  284. debug\memdebug.obj : debug\memdebug.c include\memdebug.h
  285.     cd debug
  286.     $(CC) /I..\include memdebug.c
  287.     copy memdebug.obj ..\lib
  288.     cd ..
  289.  
  290.  
  291. #
  292. #    Put it all together
  293. #
  294.  
  295. ftpbin.exe : ftp\ftpbin.obj debug\memdebug.obj engine\ncsaio.obj engine\ncsabrk.obj lib\sess.lib lib\tcp.lib lib\enet.lib lib\common.lib
  296.     cd lib
  297.     link $(LINK) ftpbin+ncsaio+ncsabrk+memdebug,ftpbin,nul,tcp+sess+enet+common;
  298.     copy ftpbin.exe ..
  299.     del ftpbin.exe
  300.     cd ..
  301.